package com.baitiaojun.elasticsearch.service.impl;

import com.baitiaojun.api.domain.user.UserInfo;
import com.baitiaojun.elasticsearch.repository.UserInfoRepository;
import com.baitiaojun.elasticsearch.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @类名 UserServiceImpl
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2023/1/4 18:48
 * @版本 1.0
 */
@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserInfoRepository userInfoRepository;

    @Override
    public void saveUserInfo(UserInfo userInfo) {
        userInfoRepository.save(userInfo);
    }
}
